﻿using System;
using System.Diagnostics;
using LingDong.LinkAnalyser;

namespace LingDong.IndexExample
{
    class Program
    {
        static void Main(string[] args)
        {
            Stopwatch watch = new Stopwatch();
            watch.Start();

            IndexCreator.SubIndexCreate();
            Console.WriteLine(watch.Elapsed);

            IndexMerger.Run();
            Console.WriteLine(watch.Elapsed);

            //Ranker ranker = new Ranker();
            //ranker.Run();
            //Console.WriteLine(watch.Elapsed);

            IndexReader.Run();
            Console.WriteLine(watch.Elapsed);
        }
    }
}
